//
//  PlayListTableView.h
//  GC_OC
//
//  Created by wlf on 2022/5/21.
//

#import <UIKit/UIKit.h>
#import "toolHelp.h"
#import "NSString+safeAssignment.h"
NS_ASSUME_NONNULL_BEGIN

@interface PlayListTableView : UIView<UITableViewDelegate,UITableViewDataSource>

@property (nonatomic, strong) NSArray *currentArray;
@property (nonatomic, assign) BOOL isHistory;
@property (nonatomic, copy) void(^listPlayIndexBlock)(NSArray *dataSource,NSInteger index);
@property (nonatomic, copy) NSString *subTitleStr;

@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, assign) NSInteger selectIndex;

- (instancetype)initWithFrame:(CGRect)frame history:(BOOL)isHistory;
@end

NS_ASSUME_NONNULL_END
